﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using QLKhachSan.DTO;
using System.Data;
using System.Data.SqlClient;
using QLKhachSan.DAO;

namespace QLKhachSan.BUS
{
    public class BUS_CTPhieuDatPhong
    {
        public static void themCTPhieuDatPhong(DTO_CTPhieuDatPhong p)
        {
            DAO_CTPhieuDatPhong.themCTPhieuDatPhong(p);
        }
        public static DataTable hienthiDanhSachCTPhieuDatPhong()
        {
            return DAO_CTPhieuDatPhong.hienthiDanhSachCTPhieuDatPhong();

        }
        public static void suaCTPhieuDatPhong(DTO_CTPhieuDatPhong p)
        {
            DAO_CTPhieuDatPhong.suaCTPhieuDatPhong(p);
        }
        public static void xoaCTPhieuDatPhong(DTO_CTPhieuDatPhong p)
        {
            DAO_CTPhieuDatPhong.xoaCTPhieuDatPhong(p);
        }
        public static DataTable hienthiDanhSachCTPhieuDatSapHetHan()
        {
            return DAO_CTPhieuDatPhong.hienthiDanhSachCTPhieuDatSapHetHan();

        }
        public static DataTable hienthiDanhSachCTPhieuDatXuLyQuaHan()
        {
            return DAO_CTPhieuDatPhong.hienthiDanhSachCTPhieuDatXuLyQuaHan();
        }
        public static DataTable hienthiDanhSachCTPhieuDatPhongTheoMaPhieuDat(DTO_CTPhieuDatPhong p)
        {
            return DAO_CTPhieuDatPhong.hienthiDanhSachCTPhieuDatPhongTheoMaPhieuDat(p);
        }
        public static DataTable hienthiDanhSachCTPhieuDatBaoCao()
        {
            return DAO_CTPhieuDatPhong.hienthiDanhSachCTPhieuDatBaoCao();
        }
    }
}
